package com.wxmblog.photo.common.rest.response.product.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @program: fast
 * @description:
 * @author: Mr.Wang
 * @create: 2023-06-25 10:42
 **/

@Data
public class ProductResponse {

    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 文件地址
     */
    @ApiModelProperty(value = "文件地址")
    private String file;
    /**
     * 分类
     */
    @ApiModelProperty(value = "分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    /**
     * 标签
     */
    @ApiModelProperty(value = "标签集合")
    private List<String> label;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
